package com.aspose.cells;

class zbxr extends zcdb {
   zbxr(PivotItem var1) throws Exception {
      this.d = 282;
      int var2 = 7;
      int var3 = var1.a.a.b.a;
      String var4 = var1.d;
      if (var4 != null) {
         var2 += var4.length() * 2 + 4;
      }

      this.c = new byte[var2];
      short var5 = 0;
      if (var1.isHidden()) {
         var5 = (short)(var5 | 1);
      }

      if (var1.a()) {
         var5 = (short)(var5 | 2);
      }

      if (var1.b()) {
         var5 = (short)(var5 | 4);
      }

      if (var1.c()) {
         var5 = (short)(var5 | 8);
      }

      if (var1.d != null) {
         var5 = (short)(var5 | 16);
      }

      if (var1.g) {
         var5 = (short)(var5 | 32);
      }

      if (var1.f) {
         var5 = (short)(var5 | 64);
      }

      if (var1.getIndex() == -1) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, this.c, 0, 1);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var5), 0, this.c, 1, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getIndex()), 0, this.c, 3, 4);
      byte var6 = 7;
      var4 = var1.d;
      if (var4 != null) {
         zcch.a(this.c, var6, var4);
      }

   }

   zbxr(boolean var1) {
      this.d = 282;
      this.c = new byte[7];
      this.c[0] = 1;
      System.arraycopy(com.aspose.cells.b.a.zc.a((int)-1), 0, this.c, 3, 4);
   }

   zbxr(byte var1) {
      this.d = 282;
      this.c = new byte[7];
      this.c[0] = var1;
      System.arraycopy(com.aspose.cells.b.a.zc.a((int)-1), 0, this.c, 3, 4);
   }
}
